package com.wyl.xue.template;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.ApplicationPidFileWriter;

/**
 * @author wyl
 */

/**
 *开启事务
 */
@SpringBootApplication
public class XueBackgroundApplication {

    public static void main(String[] args) {
        SpringApplication sa = new SpringApplication(XueBackgroundApplication.class);
        sa.addListeners(new ApplicationPidFileWriter());
        sa.run(args);
    }
}
